package com.leizhi.demo.monitor.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description 地址信息
 * @Version 1.0.0-SNAPSHOT
 * @Author leizhi
 * @Date 2025/4/27 10:45
 */
@Data
@NoArgsConstructor
public class Host {

    private String wanIp;

    private Integer wanPort;

    private String address;


    public Host(String wanIp, Integer wanPort) {
        this.wanIp = wanIp;
        this.wanPort = wanPort;
        this.address = wanIp + ":" + wanPort;
    }

}
